﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CompareBenefits
/// </summary>
/// 
namespace CE.Provider
{
    public class CompareBenefits
    {
        private Int64 _painsid;
        private Int64 _pacompanyid;
        private string _planname;
        private string _benefitname;
        private string _policytype;
        private float _annualpremiumind;
        private float _annualpremiumspo;
        private float _annualpremiumchd;
        private float _annualpremiumtot;
        private float _annualpremiumwithgst;
        private float _deathadult;
        private float _deathchild;
        private float _tpdadult;
        private float _tpdchild;
        private bool _ismedicalexpa; //New
        private float _medexpadult;
        private bool _ismedicalexpc; //New
        private float _medexpchild;

        private bool _isdentaltreatment;        //New 13 Dec 2010 by Sakthi
        private float _dentaltreatment;         //New 13 Dec 2010 by Sakthi     
        private bool _ischinesemedicalexpenses; //New 13 Dec 2010 by Sakthi
        private float _chinesemedicalexpenses;  //New 13 Dec 2010 by Sakthi

        private bool _ishaspitalcpda; //New
        private float _hcpdadult;
        private bool _ishaspitalcpdc; //New
        private float _hcpdchild;
        private bool _isrecupbenefit; //New
        private float _recupbenefit;
        private bool _isbereaverelief; //New
        private float _bereaverelief;
        private bool _doubleindemnity;
        private bool _istemptotdispw; //New
        private float _temptdpw;
        private bool _istemppartdispw; //New
        private float _temppdpw;

        private bool _iscompassionatecash; //New 13 Dec 2010 by Sakthi
        private float _compassionatecash;  //New 13 Dec 2010 by Sakthi     
        private bool _iskidnapbenefit;     //New 13 Dec 2010 by Sakthi
        private float _kidnapbenefit;      //New 13 Dec 2010 by Sakthi

        private bool _terrorism;
        private bool _class1;
        private bool _class2;
        private bool _class3;
        private bool _class4;
        private Int32 _agelimitfrom;
        private Int32 _agelimitto;
        private bool _status;
        private Int64 _refceuserid;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public CompareBenefits()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 PAInsId
        {
            get { return _painsid; }
            set { _painsid = value; }
        }

        public Int64 PACompanyId
        {
            get { return _pacompanyid; }
            set { _pacompanyid = value; }
        }

        public string PlanName
        {
            get { return _planname; }
            set { _planname = value; }
        }

        public string BenefitName
        {
            get { return _benefitname; }
            set { _benefitname = value; }
        }

        public string PolicyType
        {
            get { return _policytype; }
            set { _policytype = value; }
        }

        public float AnnualPremiumInd
        {
            get { return _annualpremiumind; }
            set { _annualpremiumind = value; }
        }

        public float AnnualPremiumSpouse
        {
            get { return _annualpremiumspo; }
            set { _annualpremiumspo = value; }
        }

        public float AnnualPremiumChild
        {
            get { return _annualpremiumchd; }
            set { _annualpremiumchd = value; }
        }

        public float TotalAnnualPremium
        {
            get { return _annualpremiumtot; }
            set { _annualpremiumtot = value; }
        }

        public float AnnualPremiumWithGST
        {
            get { return _annualpremiumwithgst; }
            set { _annualpremiumwithgst = value; }
        }

        public float DeathAdult
        {
            get { return _deathadult; }
            set { _deathadult = value; }
        }

        public float DeathChild
        {
            get { return _deathchild; }
            set { _deathchild = value; }
        }

        public float TPDAdult
        {
            get { return _tpdadult; }
            set { _tpdadult = value; }
        }

        public float TPDChild
        {
            get { return _tpdchild; }
            set { _tpdchild = value; }
        }

        public bool IsMedicalExpA
        {
            get { return _ismedicalexpa; }
            set { _ismedicalexpa = value; }
        }
        
        public float MedExpAdult
        {
            get { return _medexpadult; }
            set { _medexpadult = value; }
        }

        public bool IsMedicalExpC
        {
            get { return _ismedicalexpc; }
            set { _ismedicalexpc = value; }
        }
        
        public float MedExpChild
        {
            get { return _medexpchild; }
            set { _medexpchild = value; }
        }

        //Sakthi on 13 Dec 2010 -- Start
        public bool IsDentalTreatment
        {
            get { return _isdentaltreatment; }
            set { _isdentaltreatment = value; }
        }

        public float DentalTreatment
        {
            get { return _dentaltreatment; }
            set { _dentaltreatment = value; }
        }

        public bool IsChineseMedicalExpenses
        {
            get { return _ischinesemedicalexpenses; }
            set { _ischinesemedicalexpenses = value; }
        }

        public float ChineseMedicalExpenses
        {
            get { return _chinesemedicalexpenses; }
            set { _chinesemedicalexpenses = value; }
        }
        //Sakthi on 13 Dec 2010 -- End

        public bool IsHaspitalCPDA
        {
            get { return _ishaspitalcpda; }
            set { _ishaspitalcpda = value; }
        }

        public float HCPDAdult
        {
            get { return _hcpdadult; }
            set { _hcpdadult = value; }
        }

        public bool IsHaspitalCPDC
        {
            get { return _ishaspitalcpdc; }
            set { _ishaspitalcpdc = value; }
        }

        public float HCPDChild
        {
            get { return _hcpdchild; }
            set { _hcpdchild = value; }
        }

        public bool IsRecuperation
        {
            get { return _isrecupbenefit; }
            set { _isrecupbenefit = value; }
        }

        public float RecupBenefit
        {
            get { return _recupbenefit; }
            set { _recupbenefit = value; }
        }

        public bool IsBereavement
        {
            get { return _isbereaverelief; }
            set { _isbereaverelief = value; }
        }

        public float BereaveRelief
        {
            get { return _bereaverelief; }
            set { _bereaverelief = value; }
        }

        public bool DoubleIndemnity
        {
            get { return _doubleindemnity; }
            set { _doubleindemnity = value; }
        }

        public bool IsTempTotDisPW
        {
            get { return _istemptotdispw; }
            set { _istemptotdispw = value; }
        }

        public float TempTDPW
        {
            get { return _temptdpw; }
            set { _temptdpw = value; }
        }

        public bool IsTempPartDisPW
        {
            get { return _istemppartdispw; }
            set { _istemppartdispw = value; }
        }

        public float TempPDPW
        {
            get { return _temppdpw; }
            set { _temppdpw = value; }
        }

        //Sakthi on 13 Dec 2010 -- Start
        public bool IsCompassionateCash
        {
            get { return _iscompassionatecash; }
            set { _iscompassionatecash = value; }
        }

        public float CompassionateCash
        {
            get { return _compassionatecash; }
            set { _compassionatecash = value; }
        }

        public bool IsKidnapBenefit
        {
            get { return _iskidnapbenefit; }
            set { _iskidnapbenefit = value; }
        }

        public float KidnapBenefit
        {
            get { return _kidnapbenefit; }
            set { _kidnapbenefit = value; }
        }
        //Sakthi on 13 Dec 2010 -- End

        public bool Terrorism
        {
            get { return _terrorism; }
            set { _terrorism = value; }
        }

        public bool Class1
        {
            get { return _class1; }
            set { _class1 = value; }
        }

        public bool Class2
        {
            get { return _class2; }
            set { _class2 = value; }
        }

        public bool Class3
        {
            get { return _class3; }
            set { _class3 = value; }
        }

        public bool Class4
        {
            get { return _class4; }
            set { _class4 = value; }
        }

        public Int32 AgeLimitFrom
        {
            get { return _agelimitfrom; }
            set { _agelimitfrom = value; }
        }

        public Int32 AgeLimitTo
        {
            get { return _agelimitto; }
            set { _agelimitto = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _painsid = 0;
            _pacompanyid = 0;
            _planname = "";
            _benefitname = "";
            _policytype = "";
            _annualpremiumind = 0.0f;
            _annualpremiumspo = 0.0f;
            _annualpremiumchd = 0.0f;
            _annualpremiumtot = 0.0f;
            _annualpremiumwithgst = 0.0f;
            _deathadult = 0.0f;
            _deathchild = 0.0f;
            _tpdadult = 0.0f;
            _tpdchild = 0.0f;
            _ismedicalexpa = false;
            _medexpadult = 0.0f;
            _ismedicalexpc = false;
            _medexpchild = 0.0f;
            
            _isdentaltreatment = false;         //New 13 Dec 2010 by Sakthi
            _dentaltreatment = 0.0f;            //New 13 Dec 2010 by Sakthi     
            _ischinesemedicalexpenses = false;  //New 13 Dec 2010 by Sakthi
            _chinesemedicalexpenses = 0.0f;     //New 13 Dec 2010 by Sakthi

            _ishaspitalcpda = false;
            _hcpdadult = 0.0f;
            _ishaspitalcpdc = false;
            _hcpdchild = 0.0f;
            _isrecupbenefit = false;
            _recupbenefit = 0.0f;
            _isbereaverelief = false;
            _bereaverelief = 0.0f;
            _doubleindemnity = false;
            _istemptotdispw = false;
            _temptdpw = 0.0f;
            _istemppartdispw = false;
            _temppdpw = 0.0f;
            
            _iscompassionatecash = false;   //New 13 Dec 2010 by Sakthi
            _compassionatecash = 0.0f;      //New 13 Dec 2010 by Sakthi     
            _iskidnapbenefit = false;       //New 13 Dec 2010 by Sakthi
            _kidnapbenefit = 0.0f;          //New 13 Dec 2010 by Sakthi

            _terrorism = false;
            _class1 = false;
            _class2 = false;
            _class3 = false;
            _class4 = false;
            _agelimitfrom = 0;
            _agelimitto = 0;
            _status = false;
            _refceuserid = 0;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}